package org.nf.admin.api;

import org.nf.web.annotation.RequestMapping;
import org.nf.web.servlet.View;
import org.nf.web.servlet.view.JsonView;
import util.HttpClientUtils;

import java.util.HashMap;
import java.util.Map;

public class OrderController {

//    @RequestMapping("/doListProduct")
//    public View listProduct(String product){
//        Map<String, String> map = new HashMap<>();
//        map.put("product", product);
//        String result = HttpClientUtils.sendGet("http://localhost:8080/listProduct", map);
//        return new JsonView(result);
//    }

}
